package com.handa.admin.protocolLib.entity.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ProtocolItemDTO {
    private Long id;

    private String protocolName;

    private ProtocolField protocolContent;


    private Integer msgType;

    private Integer code;


    private Long category; // 分类Id

    private Long createUserId;

    private String createUserName;

    private String createNickName;

    private Long updateUserId;

    private String updateUserName;

    private String updateNickName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
